package com.hlkj.pay.app.merchant.ext.impl.wxpay.dto;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import java.util.List;

import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/12/11 13:43
 */
@Data
public class WxComplaintDetailResp {

    private String complaint_id;
    //投诉时间
    private String complaint_time;
    //投诉详情
    private String complaint_detail;
    /**
     * 投诉单状态
     * PENDING-待处理
     * PROCESSING-处理中
     * PROCESSED-已处理完成
     */
    private String complaint_state;
    //【被诉商户号】当服务商或渠道商查询时返回，具体的子商户标识
    private String complainted_mchid;
    //【投诉人联系方式】投诉人联系方式。该字段已做加密处理
    private String payer_phone;
    //【投诉人OpenID】投诉人在商户AppID下的唯一标识，支付分服务单类型无
    private String payer_openid;
    //【投诉单关联订单信息】投诉单关联订单信息
    private List<ComplaintOrderInfo> complaint_order_info;
    //投诉单是否已全额退款
    private Boolean complaint_full_refunded;
    //是否有待回复的用户留言
    private Boolean incoming_user_response;
    //用户投诉次数
    private Integer user_complaint_times;
    //【投诉资料列表】用户上传的投诉相关资料，包括图片凭证等
    private List<ComplaintMediaDto> complaint_media_list;
    //问题描述
    private String problem_description;
    //问题类型
    private String problem_type;
    //申请退款金额
    private Integer apply_refund_amount;
    // 用户标签列表  TRUSTED: 此类用户满足极速退款条件/HIGH_RISK: 高风险投诉，请按照运营要求优先妥善处理
    private List<String> user_tag_list;
    //是否在平台协助中
    private Boolean in_platform_service;
    //是否需即时服务用户
    private Boolean need_immediate_service;

    @Data
    public class ComplaintOrderInfo{
        private String transaction_id;
        private String out_trade_no;
        private Integer amount;
    }



}
